home *** CD-ROM | disk | FTP | other *** search
- #ifndef ODBCCFM_H
- #define ODBCCFM_H
-
- #define kODBCLibTypeResType 'odbc'
- #define kODBCLibTypeResID 1
-
- // note: these constants must be kept in sync w/ ODBCTypes.r
- #define kODBCDriverLibTypeID "\pODBC Shared Library: Driver"
- #define kODBCSetupLibTypeID "\pODBC Shared Library: Setup"
- #define kODBCTranslateLibTypeID "\pODBC Shared Library: Translate"
- #define kODBCSystemLibTypeID "\pODBC Shared Library: System"
- #define kODBCNetLibTypeID "\pODBC Shared Library: NetLib"
-
- #define kConfigDSNId "ConfigDSN"
- #define kConfigTranslatorId "ConfigTranslator"
-
- // An ODBCLibConnection object is initialized by the main entry point of an ODBC library
- // to support access to the library's resources
- #include <CodeFragments.h>
-
- struct ODBCLibConnection
- {
- ConnectionID connId;
- FSSpec spec;
- };
- typedef struct ODBCLibConnection ODBCLibConnection, **ODBCLibConnectionHandle;
-
- #endif // ODBCCFM_H